//
//  UIFont + Interpolate.swift
//  PageNavigator
//
//  Created by 张奇 on 2025/8/14.
//

import UIKit

extension UIFont {
    
    func interpolate(to: UIFont, percent: CGFloat) -> UIFont {
        let size = Interpolate.interpolate(from: pointSize, to: to.pointSize, percent: percent)
        return to.withSize(size)
    }
}
